`timescale 1ns / 1ps
//////////////////////////////////////////////////////////////////////////////////
// Company: 
// Engineer: 
// 
// Create Date:    15:45:12 08/29/2012 
// Design Name: 
// Module Name:    pru_fms_timer 
// Project Name: 
// Target Devices: 
// Tool versions:  
// Description: 
//
// Dependencies: 
//
// Revision: 
// Revision 0.01 - File Created
// Additional Comments: 
//
//////////////////////////////////////////////////////////////////////////////////
module pru_fms_timer(value,clk_i,clk_largo,reset,reset_sync,sensor_sunc,prog_sync,busleds,interval,wr_reset
    );
	 input [3:0] value;
	 input clk_i,clk_largo,reset,reset_sync,sensor_sunc,prog_sync;
	 output [7:0] busleds;
	 output [1:0] interval;
	 output wr_reset;
	 
	 wire start_timer,expired,wr,sensor_sync;
	 wire [7:0] busalida; 
	 wire [1:0] interva;
	 assign expired=expira;
	 assign start_timer=start_time;
	 assign wr=0;
	 assign sensor_sync=0;

	timer abc (value,start_timer,clk_i,expira,reset,clk_largo);
	fms def (reset_sync,sensor_sync,wr,wr_reset,prog_sync,interva,start_time,expired,busalida,clk_i);
	assign busleds=busalida;
	assign interval=interva;
	
endmodule
